package com.example.ycdyus.dailyfruit.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by ycdyus on 2015/10/22.
 */
public class Top implements Serializable{

    /**
     * ptype : 0
     * data : {"id":"28040","ctime":"1441784606","description":"关于在购物中遇到的所有问题都可以在这里提出，会有专人联系处理；\n客服服务热线：400-720-0770\n微信在线客服：关注天天果园微信服务号直接回复即可：天天果园 FRUITDAY（微信号：fruitday）","photo":["http://cdn.fruitday.com/images/2015-09-09/06117f84e6d87b084f14f6e1fe0922ad.jpg"],"type":"1","ptype":"0","content":"","uid":"0","title":"【吐槽专区】商品问题投诉汇总，勿开新贴","photo_arr":["http://cdn.fruitday.com/images/2015-09-09/06117f84e6d87b084f14f6e1fe0922ad.jpg"],"images_thumbs":["http://cdn.fruitday.com/images/2015-09-09/06117f84e6d87b084f14f6e1fe0922ad_thumb.jpg"],"images_thumbs_arr":["http://cdn.fruitday.com/images/2015-09-09/06117f84e6d87b084f14f6e1fe0922ad_thumb.jpg"],"real_content":"","username":"水果君","userrank":6,"userface":"http://cdn.fruitday.com/up_images/avatar/sys_userpic.jpg","topic_id":"-1","topic_title":"","share_url":"http://m.fruitday.com/sns/fruit/28040","stime":1445489024,"comment_num":"223","worth_num":"31","is_liked":0,"can_delete":false,"latest_comments":[{"ctime":"1445488070","content":"您好，为了保障水果能新鲜到达，目前陕西省暂关闭配送了哦，非常抱歉给你带来不便了，感谢您对果园的关注，祝您生活愉快哦！","id":"33105","uid":"0","username":"水果君","userface":"http://cdn.fruitday.com/up_images/avatar/sys_userpic.jpg","userrank":6,"stime":1445489024,"is_replay":1,"replay":{"uid":"5448344","username":"、♚ ™薄城凉...","content":"西安的发不了货？"},"replay_uid":"5448344","replay_username":"、♚ ™薄城凉...","replay_content":"西安的发不了货？"}]}
     */

    private String ptype;
    private DataEntity data;

    public void setPtype(String ptype) {
        this.ptype = ptype;
    }

    public void setData(DataEntity data) {
        this.data = data;
    }

    public String getPtype() {
        return ptype;
    }

    public DataEntity getData() {
        return data;
    }

    public static class DataEntity implements Serializable{
        /**
         * id : 28040
         * ctime : 1441784606
         * description : 关于在购物中遇到的所有问题都可以在这里提出，会有专人联系处理；
         客服服务热线：400-720-0770
         微信在线客服：关注天天果园微信服务号直接回复即可：天天果园 FRUITDAY（微信号：fruitday）
         * photo : ["http://cdn.fruitday.com/images/2015-09-09/06117f84e6d87b084f14f6e1fe0922ad.jpg"]
         * type : 1
         * ptype : 0
         * content :
         * uid : 0
         * title : 【吐槽专区】商品问题投诉汇总，勿开新贴
         * photo_arr : ["http://cdn.fruitday.com/images/2015-09-09/06117f84e6d87b084f14f6e1fe0922ad.jpg"]
         * images_thumbs : ["http://cdn.fruitday.com/images/2015-09-09/06117f84e6d87b084f14f6e1fe0922ad_thumb.jpg"]
         * images_thumbs_arr : ["http://cdn.fruitday.com/images/2015-09-09/06117f84e6d87b084f14f6e1fe0922ad_thumb.jpg"]
         * real_content :
         * username : 水果君
         * userrank : 6
         * userface : http://cdn.fruitday.com/up_images/avatar/sys_userpic.jpg
         * topic_id : -1
         * topic_title :
         * share_url : http://m.fruitday.com/sns/fruit/28040
         * stime : 1445489024
         * comment_num : 223
         * worth_num : 31
         * is_liked : 0
         * can_delete : false
         * latest_comments : [{"ctime":"1445488070","content":"您好，为了保障水果能新鲜到达，目前陕西省暂关闭配送了哦，非常抱歉给你带来不便了，感谢您对果园的关注，祝您生活愉快哦！","id":"33105","uid":"0","username":"水果君","userface":"http://cdn.fruitday.com/up_images/avatar/sys_userpic.jpg","userrank":6,"stime":1445489024,"is_replay":1,"replay":{"uid":"5448344","username":"、♚ ™薄城凉...","content":"西安的发不了货？"},"replay_uid":"5448344","replay_username":"、♚ ™薄城凉...","replay_content":"西安的发不了货？"}]
         */

        private String id;
        private String ctime;
        private String description;
        private String type;
        private String ptype;
        private String content;
        private String uid;
        private String title;
        private String real_content;
        private String username;
        private int userrank;
        private String userface;
        private String topic_id;
        private String topic_title;
        private String share_url;
        private int stime;
        private String comment_num;
        private String worth_num;
        private int is_liked;
        private boolean can_delete;
        private List<String> photo;
        private List<String> photo_arr;
        private List<String> images_thumbs;
        private List<String> images_thumbs_arr;
        private List<LatestCommentsEntity> latest_comments;

        public void setId(String id) {
            this.id = id;
        }

        public void setCtime(String ctime) {
            this.ctime = ctime;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public void setType(String type) {
            this.type = type;
        }

        public void setPtype(String ptype) {
            this.ptype = ptype;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public void setUid(String uid) {
            this.uid = uid;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public void setReal_content(String real_content) {
            this.real_content = real_content;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public void setUserrank(int userrank) {
            this.userrank = userrank;
        }

        public void setUserface(String userface) {
            this.userface = userface;
        }

        public void setTopic_id(String topic_id) {
            this.topic_id = topic_id;
        }

        public void setTopic_title(String topic_title) {
            this.topic_title = topic_title;
        }

        public void setShare_url(String share_url) {
            this.share_url = share_url;
        }

        public void setStime(int stime) {
            this.stime = stime;
        }

        public void setComment_num(String comment_num) {
            this.comment_num = comment_num;
        }

        public void setWorth_num(String worth_num) {
            this.worth_num = worth_num;
        }

        public void setIs_liked(int is_liked) {
            this.is_liked = is_liked;
        }

        public void setCan_delete(boolean can_delete) {
            this.can_delete = can_delete;
        }

        public void setPhoto(List<String> photo) {
            this.photo = photo;
        }

        public void setPhoto_arr(List<String> photo_arr) {
            this.photo_arr = photo_arr;
        }

        public void setImages_thumbs(List<String> images_thumbs) {
            this.images_thumbs = images_thumbs;
        }

        public void setImages_thumbs_arr(List<String> images_thumbs_arr) {
            this.images_thumbs_arr = images_thumbs_arr;
        }

        public void setLatest_comments(List<LatestCommentsEntity> latest_comments) {
            this.latest_comments = latest_comments;
        }

        public String getId() {
            return id;
        }

        public String getCtime() {
            return ctime;
        }

        public String getDescription() {
            return description;
        }

        public String getType() {
            return type;
        }

        public String getPtype() {
            return ptype;
        }

        public String getContent() {
            return content;
        }

        public String getUid() {
            return uid;
        }

        public String getTitle() {
            return title;
        }

        public String getReal_content() {
            return real_content;
        }

        public String getUsername() {
            return username;
        }

        public int getUserrank() {
            return userrank;
        }

        public String getUserface() {
            return userface;
        }

        public String getTopic_id() {
            return topic_id;
        }

        public String getTopic_title() {
            return topic_title;
        }

        public String getShare_url() {
            return share_url;
        }

        public int getStime() {
            return stime;
        }

        public String getComment_num() {
            return comment_num;
        }

        public String getWorth_num() {
            return worth_num;
        }

        public int getIs_liked() {
            return is_liked;
        }

        public boolean getCan_delete() {
            return can_delete;
        }

        public List<String> getPhoto() {
            return photo;
        }

        public List<String> getPhoto_arr() {
            return photo_arr;
        }

        public List<String> getImages_thumbs() {
            return images_thumbs;
        }

        public List<String> getImages_thumbs_arr() {
            return images_thumbs_arr;
        }

        public List<LatestCommentsEntity> getLatest_comments() {
            return latest_comments;
        }

        public static class LatestCommentsEntity implements Serializable{
            /**
             * ctime : 1445488070
             * content : 您好，为了保障水果能新鲜到达，目前陕西省暂关闭配送了哦，非常抱歉给你带来不便了，感谢您对果园的关注，祝您生活愉快哦！
             * id : 33105
             * uid : 0
             * username : 水果君
             * userface : http://cdn.fruitday.com/up_images/avatar/sys_userpic.jpg
             * userrank : 6
             * stime : 1445489024
             * is_replay : 1
             * replay : {"uid":"5448344","username":"、♚ ™薄城凉...","content":"西安的发不了货？"}
             * replay_uid : 5448344
             * replay_username : 、♚ ™薄城凉...
             * replay_content : 西安的发不了货？
             */

            private String ctime;
            private String content;
            private String id;
            private String uid;
            private String username;
            private String userface;
            private int userrank;
            private int stime;
            private int is_replay;
            private ReplayEntity replay;
            private String replay_uid;
            private String replay_username;
            private String replay_content;

            public void setCtime(String ctime) {
                this.ctime = ctime;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public void setId(String id) {
                this.id = id;
            }

            public void setUid(String uid) {
                this.uid = uid;
            }

            public void setUsername(String username) {
                this.username = username;
            }

            public void setUserface(String userface) {
                this.userface = userface;
            }

            public void setUserrank(int userrank) {
                this.userrank = userrank;
            }

            public void setStime(int stime) {
                this.stime = stime;
            }

            public void setIs_replay(int is_replay) {
                this.is_replay = is_replay;
            }

            public void setReplay(ReplayEntity replay) {
                this.replay = replay;
            }

            public void setReplay_uid(String replay_uid) {
                this.replay_uid = replay_uid;
            }

            public void setReplay_username(String replay_username) {
                this.replay_username = replay_username;
            }

            public void setReplay_content(String replay_content) {
                this.replay_content = replay_content;
            }

            public String getCtime() {
                return ctime;
            }

            public String getContent() {
                return content;
            }

            public String getId() {
                return id;
            }

            public String getUid() {
                return uid;
            }

            public String getUsername() {
                return username;
            }

            public String getUserface() {
                return userface;
            }

            public int getUserrank() {
                return userrank;
            }

            public int getStime() {
                return stime;
            }

            public int getIs_replay() {
                return is_replay;
            }

            public ReplayEntity getReplay() {
                return replay;
            }

            public String getReplay_uid() {
                return replay_uid;
            }

            public String getReplay_username() {
                return replay_username;
            }

            public String getReplay_content() {
                return replay_content;
            }

            public static class ReplayEntity implements Serializable{
                /**
                 * uid : 5448344
                 * username : 、♚ ™薄城凉...
                 * content : 西安的发不了货？
                 */

                private String uid;
                private String username;
                private String content;

                public void setUid(String uid) {
                    this.uid = uid;
                }

                public void setUsername(String username) {
                    this.username = username;
                }

                public void setContent(String content) {
                    this.content = content;
                }

                public String getUid() {
                    return uid;
                }

                public String getUsername() {
                    return username;
                }

                public String getContent() {
                    return content;
                }
            }
        }
    }
}
